package com.entrogy.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * @ClassName DormEntity
 * @Description 宿舍的实体类
 * @Author luoxingjiang
 * @Date 2019/7/9 0009 下午 3:03
 * @Version 1.0
 **/
@SuppressWarnings("serial")
@AllArgsConstructor
@NoArgsConstructor
@Data
@Accessors(chain = true)
public class DormEntity implements Serializable {

    private Integer id;

    private String dormName;

    private Integer schoolCode;

    private String lifeTeacherId;

    private Integer floorNumber;

    //设备列表
    private List<DormDeviceEntity> deviceList;

    //楼层列表
    private List<FloorEntity> floorList;

    private List<DormDoorDeviceEntity> dormDoorDeviceList;

    //考勤时间，暂时只有一个考勤时段，即晚上考勤
    private BackTimeFrameEntity backTimeFrame;

    //学校名称
    private String schoolName;
}
